<?php
// flightHandler({
// 	"code": "CA1998",
// 	"price": 1780,
// 	"tickets": 5
// });

$code=$_REQUEST['code'];
$callback=$_REQUEST['callback'];

//这里用sql查到code的价格和余票
echo $callback."(".json_encode(array("code"=>$code,"price"=>1780,"ticket"=>5)).")";